package com.charley.icloud.office.controller;

import com.charley.icloud.office.service.IApachePoiTlService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Poi-tl生成图表
 **/
@RestController
@RequestMapping("/poitl")
public class ApachePoiTlController {

    @Resource
    private IApachePoiTlService poiTlService;

    @GetMapping("/generateCharts.do")
    public void generateCharts(){
        poiTlService.generateCharts();
    }
}
